package cn.blunce.SortTest;

import java.util.Arrays;

/**
 * Created by Experiment on 2016/3/27 0027.
 */
public class SortTest {
    public void ArraySortTest() {
        /**
         *using Arrays
         */
        int[] array1 = {2, 1, 9, 6, 4};
        Arrays.sort(array1);
        System.out.println(array1);
        int[] array2 = {1, 2, 3};
        System.out.println(Arrays.equals(array1, array2));
    }
}
